<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>表单绑定-多选列表框select</title>
  <script type="text/javascript" src="vue.js"></script>
</head>
<body>
    <div id="app">
        <span>请选择语言，已选择 {{ languages.length }} 种</span>
        <br/>
        <select multiple v-model="languages">
            <option>python</option>
            <option>JavaScript</option>
            <option>Pascal</option>
        </select>
    </div>
    <script>
        let vm = new Vue({
            el:"#app",
            data:{
                languages:[]
            }
        })
    </script>
</body>
</html>